html,
body {
  overflow: hidden;
}

#app {
  min-height: 100vh;
}

/*卡片列表样式*/
.template-card {
  margin: 0 25px 15px 0;
  .k-card-body {
    padding: 0;
  }
  &:hover .card-overlay {
    opacity: 1;
  }
}

.template-card-cover {
  width: 285px;
  height: 180px;
  position: relative;
  > div {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 1px;
  }
  .card-background {
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
  .card-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    .k-icon {
      font-size: 26px;
      margin: 0 15px;
      color: #ffffff;
      cursor: pointer;
      &:hover {
        color: #459aee;
      }
    }
  }
}
.template-card-info {
  border-top: 1px solid #e9eaec;
  padding: 5px 10px;
  color: #666666;
  > p {
    font-weight: bold;
    padding: 3px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  > div {
    padding: 5px 0;
  }
  .card-info-person {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 12px;
    background: #459afe;
    color: #ffffff;
  }
  .card-info-time {
    float: right;
    color: #999999;
    margin-top: 5px;
  }
}

.k-spin-fix {
  background-color: rgba(43, 43, 58, 0.8);
}
